package com.example.service;

import java.math.BigDecimal;

/**
 * @author: 21050134
 * @date: 2023/10/20 17:53
 * @description:
 */
public interface AccountService {
	/**
	 * 扣减账户余额
	 *
	 * @param userId 用户id
	 * @param money  金额
	 */
	int decrease(Long userId, BigDecimal money);
}
